<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html dir="ltr">
    
    <head>
        <link rel="stylesheet" type="text/css" href="http://ajax.googleapis.com/ajax/libs/dojo/1.3/dijit/themes/soria/soria.css">
        <style type="text/css">
            body, html { font-family:helvetica,arial,sans-serif; font-size:90%; }
        </style>
    </head>
    
    <body class="soria">
		<div>
		<b>filter:</b> <input type="text" size="23" value="//ZygoticCell[@receptors > T]"/>
		</div>
		<div style="height: 15px"></div>
        <div id="treeOne">
        </div>
		<div style="height: 15px"></div>
		<div style="width: 120px;">
		Selected 3 objects of type <tt>ZygoticCell</tt>:<br/>
		<div style="height: 10px"></div>
		&nbsp;&nbsp; <a href="x">cell4</a><br/>
		&nbsp;&nbsp; <a href="x">cell6</a><br/>
		&nbsp;&nbsp; <a href="x">cell7</a><br/>
		</div>
    </body>
    <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/dojo/1.3/dojo/dojo.xd.js"
    djConfig="parseOnLoad: true">
    </script>
    <script type="text/javascript">
        dojo.require("dojo.data.ItemFileReadStore");
        dojo.require("dijit.Tree");

        dojo.addOnLoad(function() {
            var store = new dojo.data.ItemFileReadStore({
                url: "tree.json"
            });

            var treeModel = new dijit.tree.ForestStoreModel({
                store: store,
                query: {
                    "type": "continent"
                },
                rootId: "root",
                rootLabel: "environment",
                childrenAttrs: ["children"]
            });

            new dijit.Tree({
                model: treeModel
            },
            "treeOne");
        });
    </script>
    <!-- NOTE: the following script tag is not intended for usage in real
    world!! it is part of the CodeGlass and you should just remove it when
    you use the code -->
    <script type="text/javascript">
        dojo.addOnLoad(function() {
            if (window.pub) {
                window.pub();
            }
        });
    </script>

</html>
